package com.jerry.lastgomall.bargain.feign;

import com.jerry.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient("lastgomall-order")
public interface OrderFeignService {
    @PostMapping("order/order/insterOrder")
    public R insterOrder(@RequestBody Map<String ,Object> order);
}
